home *** CD-ROM | disk | FTP | other *** search
/ Die Ultimative Software-P…i Collection 1996 & 1997 / Die Ultimative Software-Pakete CD-ROM fur Atari Collection 1996 & 1997.iso / p / portfoli / batchio / fake.doc < prev    next >
Encoding:
Text File  |  1996-10-30  |  1.3 KB  |  36 lines

  1. FAKE.COM, SHORT FOR KEYFAKE.COM AS DESCRIBED IN PC MAGAZINE, DEC. 24, 1985
  2. ==========================================================================
  3.  
  4. Allows sending of keystrokes to application programs. The difference with
  5. redirection of standard input is, that FAKE relinquishes control after
  6. sending its keystrokes, whereis redirection to a file limits input to that
  7. file's contents.
  8.  
  9. Usage  (most practically in batchfile):
  10.      
  11.        FAKE ["Input characters"] [00] [@00]
  12.        PROGRAM
  13.  
  14. Where: [00] stands for ASCII codes for (non-printable or control) characters
  15.        [@00] stands for extended ASCII codes for function keys, Alt-letter
  16.              keys, Alt-number keys, etcetera.
  17.        Strings can be delimited by either single or double quotes.
  18.        Different types of input can be mixed. E.g.: 
  19.  
  20.        FAKE 'WE"R4' 13 32 @72 "YES" 9 32
  21.  
  22.        A batch file to modify the autoexec.bat, using the SCREEN editor 
  23.        could read:
  24.         
  25.        FAKE "autoexec.bat" 13
  26.        SCREEN
  27.  
  28.        A batch file to start the Turbo Pascal Editor and automatically 
  29.        say 'Yes' to the question whether or not error messages should be
  30.        displayed, might read simply:
  31.  
  32.        FAKE "Y"
  33.        TURBO
  34.  
  35. FAKE was duly entered at the keyboard by Peter ten Hoopen, Amsterdam.
  36.